package com.yonyou.isv.demo.openapi.api.tax;

import com.yonyou.isv.demo.openapi.api.BaseOpenApi;
import com.yonyou.isv.demo.openapi.api.OpenApiURL;
import com.yonyou.isv.demo.openapi.base.module.reponse.ApiDataArrayResponse;
import com.yonyou.isv.demo.openapi.base.module.reponse.ApiDataResponse;
import com.yonyou.isv.demo.openapi.base.module.reponse.ApiStringDataResonse;
import org.springframework.http.HttpEntity;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Description 进项受票-采购台账
 * @Author jiaogjin
 * @Date 2022/4/26 17:17
 **/
@Component
public class PurchaseAccountApi extends BaseOpenApi {

    public String updateSrcbill(Map<String,Object> httpEntity)
    {
        ApiStringDataResonse apiStringDataResonse = postForEntity(OpenApiURL.UPDATE_SRCBILL, httpEntity, ApiStringDataResonse.class);
        return getData(apiStringDataResonse);
    }


}
